GenerativeComponents Help

Sum

Returns the sum (total) of all of the numbers in the list.

Example

The total length of those child lines that do not exceed the maximum length.

(from ln in line01
    where ln.Length <= maxLength
    select ln.Length).Sum()
List.Sum()